package com.flst.xlbibliotheque.api.dao;

import java.util.List;

import com.flst.xlbibliotheque.api.Author;
import com.flst.xlbibliotheque.api.Book;
import com.flst.xlbibliotheque.entity.AuthorImpl;

public interface AuthorDao {

	
	void saveEntry(Author author);

    Author getAuthor(Long id);

    List<Author> getAuthors();

    List<Author> getAuthorsByBook(Book book);

    AuthorImpl get(Long id);

	List<Author> getAuthorByNom(String nom);

	Author createAuthor(String string);


}
